//import './assets/main.css'

import { createApp } from 'vue'
import App from './App.vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import router from './router'
import { createPinia } from 'pinia'
const pinia = createPinia()
import { createPersistedState } from 'pinia-persistedstate-plugin'
const persist = createPersistedState()
pinia.use(persist)
import zhLocale from 'element-plus/es/locale/lang/zh-cn'

createApp(App).use(router).use(ElementPlus, {locale: zhLocale}).use(pinia).mount('#app')